import { requestClient } from '#/api/request';

export type realName = {
  email: string;
  emailCode: string;
  idCard: string;
  nameCn: string;
};

// 新增
export async function realNameAuthApi(data: realName) {
  return requestClient.post('/system/real-name-authentication', data);
}

export async function getPublishedSysAnnListApi(data: any) {
  return requestClient.get('/system/get-published-sys-ann-list', {
    params: data
  });
}
